//
//  ZQWebViewController.swift
//  ZQWeibo
//
//  Created by summer的Dad on 16/11/26.
//  Copyright © 2016年 summer的Dad. All rights reserved.
//

import UIKit

class ZQWebViewController: UIViewController {

   
    
    let webView = UIWebView()
    
    var urlString : String?
    
    override func loadView() {
        
        
       view = webView
        
        
       addView()
    }
    
    func addView() {
        
        guard let sut = urlString  else {
            
            return
        }
        
        let url = URL(string: sut)
        let request = URLRequest(url: url!)
        
        webView.loadRequest(request)

        
    }
    
    
    
    
    
    
    
}
